<%-- 
    Document   : editForest
    Created on : 21.11.2013
    Author     : vika
--%>

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<f:message var="nadpis" key="top.editforest"/>

<s:layout-render name="/mainLayout.jsp" nadpis="${nadpis}">
    <s:layout-component name="body">
        <s:useActionBean beanclass="cz.muni.fi.pa165.mushroom.website.web.ForestActionBean" var="actionBean"/>
        <s:form beanclass="cz.muni.fi.pa165.mushroom.website.web.ForestActionBean">
             <s:hidden name="forestDto.id"/>
            <fieldset><legend><f:message key="edit.forest"/></legend>
                <%@include file="/protected/forestForm.jsp"%>
            <s:submit name="save"><f:message key="edit.save"/></s:submit>
            <s:submit name="cancel"><f:message key="cancel"/></s:submit>
           </fieldset>
        </s:form>
    </s:layout-component>
</s:layout-render>